package com.zcoj.controller.common;

import com.zcoj.core.model.ApiResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenbin
 * @version 1.0
 * @description: 系统首页的相关功能实现
 * @date 2023/3/30 10:44
 */

@RestController
@RequestMapping("/home")
public class homePageController {


 @Autowired
 private com.zcoj.service.homePageService homePageService;

 @GetMapping("/lineChart")
 public ApiResponse lineChart(){
  return homePageService.lineChart();
 }


}
